<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add.jsp' starting page</title>
    
   	<link href="<%=request.getContextPath() %>/css/add.css" type="text/css" rel="stylesheet">

	
  </head>
  
  <body>
  	<div id="up">
	   <ul>
	    	<li><span><a href="#">订单管理 </a>&gt; 修改订单 &gt;</span></li>
	   </ul>
	</div>
	<div id="down">
	    <form method="post" action="/AdminExhibition/updateExhibition" enctype="multipart/form-data">
			<input type="number" name="eid" value="${ex2.eid}" class="in" style="display: none"/>
	   		<table width="1000px">
				<tr>
					<td>标题：</td>
					<td><input type="text"  value="${ex2.etitle}" name="etitle" class="in"/></td>
				</tr>
				<tr>
					<td>图片：</td>
					<td><input type="file"value="${ex2.epic}" name="myFile" class="in"/></td>
				</tr>

	   			<tr>
	   				<td>内容：</td>
	   				<td><input type="text"  value="${ex2.ebody}" name="ebody" class="in"/></td>
	   			</tr>

				<tr>
					<td>开始时间：</td>
					<td>
						<input type="datetime-local" name="ebegin" value='${ex2.ebegin}' class="in"/>
					</td>

				</tr>
				<tr>
					<td>结束时间：</td>
					<td>
						<input type="datetime-local" name="etime" value='${ex2.etime}' class="in"/>
					</td>
				</tr>

	   			<tr>
	   				<td></td>
	   				<td>
	   					<input type="submit" value="提&nbsp;&nbsp;&nbsp;交" class="su">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	   					<input type="reset" value="清&nbsp;&nbsp;&nbsp;空" class="su">
	   				</td>
	   			</tr>

	   		</table>
	    </form>
    </div>
  </body>
</html>
